package com.csap.framework.oauth2.request;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import com.csap.framework.annotation.apidoc.Description;
import com.csap.framework.oauth2.BaseRequest;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Author ycf
 * @Date 2023/11/16 16:45
 * @Version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "平台", value = "platform对象")
@Description(value = "平台Model")
public class PlatformRequest extends BaseRequest<PlatformRequest> {
    @ApiModelProperty(description = "平台ID", value = "平台ID", forceReq = true)
    private String platform;
    @ApiModelProperty(description = "是否可用", value = "是否可用", forceReq = true)
    private Integer enabled;
    @ApiModelProperty(description = "平台名称", value = "平台名称", forceReq = true)
    private String name;
    @ApiModelProperty(description = "平台描述", value = "平台描述", forceReq = true)
    private String descr;
    @ApiModelProperty(description = "平台LOGO", value = "平台LOGO", forceReq = true)
    private String logo;
}
